import request from '../utils/request.js'

export function musicInfo(id) {
    return request.get('/music/info', {
        params: {
            id: id
        }
    })
}

export function searchMusic(keyword, page) {
    return request.get('/music/search', {
        params: {
            keyword: keyword,
            page: page
        }
    })
}